	             <div class="box-body">	             
	           		<div>
	            	<div class="col-sm-12">
		              <table id="list-table" class="table table-bordered table-striped dataTable">
		                 <thead>
		                   <tr role="row">
							   <th class="sorting" tabindex="0" style="text-align: center;">活动ID</th>
			                   <th class="sorting" tabindex="0" style="text-align: center;">活动名称</th>
			                   <th class="sorting" tabindex="0" style="text-align: center;">开始时间</th>
			                   <th class="sorting" tabindex="0" style="text-align: center;">结束时间</th>
			                   <th class="sorting" tabindex="0" style="text-align: center;">操作</th>
		                   </tr>
		                 </thead>
						<tbody>
						  <foreach name="prom_list" item="vo" key="k" >
						  	<tr role="row" align="center">
								<td>{$vo.id}</td>
		                     <td>{$vo.name|getSubstr=0,30}</td>
		                     <td>{$vo.start_time|date='Y-m-d',###}</td>
							 <td>{$vo.end_time|date='Y-m-d',###}</td>
							 <td>
		                      <a class="btn btn-primary" href="{:U('Promotion/prom_full_info',array('id'=>$vo['id']))}"><i class="fa fa-pencil"></i></a>
		                      <!--<a class="btn btn-danger" href="{:U('Promotion/prom_full_del',array('id'=>$vo['id']))}" data-url=" " data-id="{$vo.id}" ><i class="fa fa-trash-o"></i></a>-->
		                      <a class="btn btn-primary" href="javascript:;" onclick="daochu({$vo.id})"   >导出excel</a>
							</td>
		                   </tr>
		                  </foreach>
		                   </tbody>
		               </table>
	               </div>
	          </div>
              <div class="row">
              	    <div class="col-sm-6 text-left"></div>
                    <div class="col-sm-6 text-right">{$page}</div>		
              </div>
	          </div><!-- /.box-body -->
	          
	          
	   <script>
	   
	   function daochu(id){
    		location.href="/index.php/Admin/Promotion/daochufull?id="+id
	   }
	       	$(".pagination  a").click(function(){
        		var page = $(this).data('p');
        		var number = $(this).data('n');
        		ajax_get_table('search-form2',page,number);
        	});
    		$(".page_num").change(function (){
        		var number = $(this).val();
        		ajax_get_table('search-form2',1,number);
        	})
	   </script>